<?php

class AttributeValue Extends ComponentPropertyValue{




// singleton instance 
  private static $instance; 


private function __construct() {
  /*** maybe set the name here later ***/
}


  // getInstance method 
  public static function getInstance() { 

    if(!self::$instance) { 
      self::$instance = new self(); 
    } 

    return self::$instance; 

  }


 public function copy(){
   
   $clone=new AttributeValue(); 
   $clone->value=$this->value;
   $clone->valueURI=$this->valueURI;
   $clone->comment=$this->comment;
   return $clone;
  }

public static function  wrapAttributeValue($value,$valueURI,$comment){
   
   $clone=new AttributeValue(); 
   $clone->value=$value;
   $clone->valueURI=$valueURI;
   $clone->comment=$comment;
   return $clone;
  }
  
}


?>
